<template>
	<view class="seeorderdetails">
		<view class="head">
			<view class="head-icon">
				<text>已完成</text>
			</view>
			<view class="head-text">
				<text>宝贝已接收</text>
			</view>
		</view>
		<view class="address">
			<!-- 缺图片 -->
			<view class="address-icon">
			</view>
			<view class="address-right">
				<view class="address-right-text">
					 <view class="name">
					 	<text>欧阳飘绪</text>
					 </view>
					 <view class="phone">
					 	<text>13876265500</text>
					 </view>
				</view>
				<view class="address-right-up">
					 <view class="name">
					 	<text>江西省</text>
					 </view>
					 <view class="phone">
					 	<text>南昌市</text>
					 </view>
					 <view class="phone">
					 	<text>西湖区</text>
					 </view>
					 <view class="phone">
					 	<text>朝阳洲桃花一村</text>
					 </view>
				</view>
			</view>
		</view>
		<view class="middle">
			<view class="middle-icon">
				<!-- 缺图片 -->
				<view class="icon">
					
				</view>
				<view class="title">
					<text>古茗奶茶</text>
				</view>
				
				<!-- <img src="" > -->
			</view>
			<view class="middle-details">
				<view class="middle-details-icon">
					<view class="icon">
						<!-- 少图片 -->
						<!-- <img src="" > -->
					</view>
					<view class="name-title">
						<view class="name-title-row">
							<view class="name">
							<text>拿铁+布丁+珍珠+奶茶</text>
							</view>
						</view>
						<view class="name-title-row">
							<view class="material-title">
							<text>拿铁+布丁+珍珠+奶茶</text>
							</view>
						</view>
					</view>
				</view>
			</view>
			<view class="middle-way">
				<text>商品总价</text>
				<view class="middle-way-go">
					<text>￥29.00</text>
				</view>
			</view>
			<view class="middle-way">
				<text>运费</text>
				<!-- 有操作 -->
				<view class="middle-way-go">
					<text>￥0.00</text>
				</view>
			</view>
			<view class="middle-way">
				<text>实付款</text>
				<!-- 有操作 -->
				<view class="middle-way-fill">
					<text>￥29.00</text>
				</view>
			</view>
		</view>
		<view class="bottom-details">
			<view class="bottom-details-head">
				<!-- 没有图片 -->
				<view class="bottom-details-head-icon">
					
				</view>
				<view class="bottom-details-head-adress">
					<text>订单信息</text>
				</view>
			</view>
			<view class="middle-way">
				<view class="middle-way-go">
					<text>期望时间</text>
				</view>
				<view class="middle-way-go">
					<text>立即配送</text>
				</view>
			</view>
			<view class="middle-way">
				<view class="middle-way-go">
					<text>配送骑手</text>
				</view>
				<view class="middle-way-go">
					<text>黄小雪</text>
				</view>
			</view>
			<view class="border"></view>
			<view class="middle-way">
				<view class="middle-way-go">
					<text>订单号</text>
				</view>
				<view class="middle-way-go">
					<text>50017086791</text>
					<view class="middle-way-up">
						<text 
						class="copy" 
						@click="copy(orderId)">
						复制</text>
					</view>
				</view>
			</view>
			<view class="middle-way">
				<view class="middle-way-go">
					<text>支付方式</text>
				</view>
				<view class="middle-way-go">
					<text>在线支付</text>
				</view>
			</view>
			<view class="middle-way">
				<view class="middle-way-go">
					<text>下单时间</text>
				</view>
				<view class="middle-way-go">
					<text>2021/06/21</text>
				</view>
			</view>
			<view class="middle-way">
				<view class="middle-way-go">
					<text>备注</text>
				</view>
				<view class="middle-way-go">
					<!-- <text>2021/06/21</text> -->
				</view>
			</view>
		</view>
		
		<view class="settlement">
			<view class="settlement-body">
					<view class="settlement-button">
						<text>删除记录</text>
					</view>
					<view class="settlement-button">
						<text>再次购买</text>
					</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				cloneText:'5564545415'
			}
		},
		methods: {
			 copy(value) {
			 	uni.setClipboardData({
			 	    data: this.cloneText,
			    	success: function () {
			    	//调用方法成功
			        console.log('success');
			    }
			 	})
			}
		}
	}
</script>

<style lang="scss">
.seeorderdetails {
	.head { 
		display: flex;
		width: 750rpx;
		height: 107rpx;
		background: #FFFFFF;
		border-radius: 0rpx 0rpx 10rpx 10rpx;
		opacity: 1;
		.head-icon {
			margin: 28rpx 0 28rpx 30rpx;
			width: 139rpx;
			height: 51rpx;
			background: linear-gradient(90deg, #F94D29 0%, #F99529 100%);
			border-radius: 7rpx 7rpx 7rpx 7rpx;
			opacity: 1;
			text-align: center;
			line-height: 51rpx;
			color: #F5F5F5;
			font-weight: 400;
			font-size: 30rpx;
		}
		.head-text {
			margin: 40rpx 0 38rpx 40rpx;
			height: 28rpx;
			font-size: 28rpx;
			font-family: Source Han Sans CN-Regular, Source Han Sans CN;
			font-weight: 400;
			color: #F94D29;
			line-height: 28rpx;
		}
	}
	.address {
		width: 750rpx;
		height: 149rpx;
		background: #FFFFFF;
		border-radius: 0rpx 0rpx 10rpx 10rpx;
		opacity: 1;
		display: flex;
		.address-icon {
			margin: 38rpx 20rpx 52rpx 30rpx;
			width: 60rpx;
			height: 60rpx;
			background: linear-gradient(90deg, #F94D29 0%, #F99529 100%);
			opacity: 1;
		}
		.address-right {
			margin-top: 32rpx;
			.address-right-text {
				width: 344rpx;
				display: flex;
				justify-content: space-around;
				height: 32rpx;
				font-size: 32rpx;
				font-family: Source Han Sans CN-Regular, Source Han Sans CN;
				font-weight: 400;
				color: #222222;
				line-height: 38rpx;
			}
			.address-right-up {
				margin-top: 24rpx;
				width: 466rpx;
				display: flex;
				justify-content: space-around;
				width: 466rpx;
				height: 28rpx;
				font-size: 28rpx;
				font-family: Source Han Sans CN-Regular, Source Han Sans CN;
				font-weight: 400;
				color: #555555;
				line-height: 34rpx;
			}
		}
	}
	.middle {
		margin: 22rpx 0 24rpx 0;
		width: 750rpx;
		height: 499rpx;
		background: #FFFFFF;
		border-radius: 10rpx 10rpx 10rpx 10rpx;
		opacity: 1;
		.middle-icon {
			display: flex;
			.icon {
				margin: 30rpx 10rpx 30rpx 30rpx;
				width: 28rpx;
				height: 27rpx;
				background: #222222;
				opacity: 1;
			}
			.title {
				margin-top: 28rpx;
				width: 112rpx;
				height: 28rpx;
				font-size: 28rpx;
				font-family: Source Han Sans CN-Regular, Source Han Sans CN;
				font-weight: 400;
				color: #222222;
				line-height: 28rpx;
			}
		}
		.middle-details {
			margin-bottom: 34rpx;
			width: 652rpx;
			height: 139rpx;
			margin: 8rpx 0 0 20rpx;				
			.middle-details-icon {
				display: flex;
				.icon {
					margin: 24rpx 6rpx 12rpx 10rpx;
					width: 102rpx;
					height: 102rpx;
					background: #F5F5F5;
					border-radius: 10rpx 10rpx 10rpx 10rpx;
					opacity: 1;
				}
				.name-title {
					width: 500rpx;
					margin: 20rpx 0 22px 20px;
					.name-title-row {
						display: flex;
						justify-content: space-between;
						.name {
							margin-top: 16rpx;
							height: 30rpx;
							font-size: 30rpx;
							font-family: SourceHanSansCN-Regular-, SourceHanSansCN-Regular;
							font-weight: normal;
							color: #222222;
							line-height: 30rpx;
						}
						.money {
							margin-top: 22rpx;
							height: 28rpx;
							font-size: 28rpx;
							font-family: SourceHanSansCN-Medium-, SourceHanSansCN-Medium;
							font-weight: normal;
							color: #222222;
							line-height: 28rpx;
						}
						.material-title {
							margin-top: 22rpx;
							height: 24rpx;
							font-size: 24rpx;
							font-family: SourceHanSansCN-Regular-, SourceHanSansCN-Regular;
							font-weight: normal;
							color: #555555;
							line-height: 24rpx;
						}
					}
				}
			}
		}
		.middle-way {
			display: flex;
			justify-content: space-between;
			margin: 34rpx 0 58rpx 32rpx;
			height: 28rpx;
			font-size: 28rpx;
			font-family: SourceHanSansCN-Regular-, SourceHanSansCN-Regular;
			font-weight: normal;
			color: #555555;
			line-height: 28rpx;
			.middle-way-go {
				margin-right: 30rpx;
				height: 28rpx;
				font-size: 28rpx;
				font-family: SourceHanSansCN-Regular-, SourceHanSansCN-Regular;
				font-weight: normal;
				color: #222222;
				line-height: 28rpx;
			}
			.middle-way-fill {
				margin-right: 30rpx;
				height: 28rpx;
				font-size: 28rpx;
				font-family: Source Han Sans CN-Regular, Source Han Sans CN;
				font-weight: 400;
				color: #F94D29;
				line-height: 33rpx
			}
		}
	}
	.bottom-details {
		margin-bottom: 20rpx;
		width: 750rpx;
		height: 660rpx;
		background: #FFFFFF;
		border-radius: 14rpx 14rpx 14rpx 14rpx;
		opacity: 1;
		.bottom-details-head {
			display: flex;
			margin: 0 32rpx 0 28rpx ;
			padding-top: 34rpx;
			.bottom-details-head-icon {
				width: 7rpx;
				height: 32rpx;
				background: linear-gradient(360deg, #F94D29 0%, #F99529 100%);
				border-radius: 4rpx 0rpx 4rpx 0rpx;
				opacity: 1;
				margin-right: 20rpx;
			}
			.bottom-details-head-adress {
				height: 32rpx;
				font-size: 32rpx;
				font-family: Source Han Sans CN-Regular, Source Han Sans CN;
				font-weight: 400;
				color: #333333;
				line-height: 38rpx;
			}
		}
			.middle-way {
				display: flex;
				justify-content: space-between;
				margin: 50rpx 0 58rpx 32rpx;
				height: 28rpx;
				font-size: 28rpx;
				font-family: SourceHanSansCN-Regular-, SourceHanSansCN-Regular;
				font-weight: normal;
				color: #555555;
				line-height: 28rpx;
				.middle-way-go {
					display: flex;
					margin-right: 30rpx;
					height: 28rpx;
					font-size: 28rpx;
					font-family: SourceHanSansCN-Regular-, SourceHanSansCN-Regular;
					font-weight: normal;
					color: #222222;
					line-height: 34rpx;
					.middle-way-up {
						height: 28rpx;
						font-size: 28rpx;
						font-family: Source Han Sans CN-Regular, Source Han Sans CN;
						font-weight: 400;
						color: #F94D29;
						line-height: 28rpx;
					}
				}
				.middle-way-fill {
					margin-right: 30rpx;
					height: 28rpx;
					font-size: 28rpx;
					font-family: Source Han Sans CN-Regular, Source Han Sans CN;
					font-weight: 400;
					color: #F94D29;
					line-height: 33rpx
				}
			}
			.border {
				width: 689rpx;
				height: 1rpx;
				background: #E9E9E9;
				border-radius: 0rpx 0rpx 0rpx 0rpx;
				opacity: 1;
				margin: 0 30rpx;
			}
			.copy {
				width: 256rpx;
				height: 28rpx;
				font-size: 28rpx;
				font-family: Source Han Sans CN-Regular, Source Han Sans CN;
				font-weight: 400;
				color: #F94D29;
				line-height: 34rpx;
			}
	}
	.settlement {
		width: 750rpx;
		height: 112rpx;
		background: #FFFFFF;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		opacity: 1;
		.settlement-body {
			display: flex;
			margin-left: 360rpx;
			padding-top: 24rpx;
			.settlement-button {
			width: 170rpx;
			height: 64rpx;
			border-radius: 31rpx 31rpx 31rpx 31rpx;
			opacity: 1;
			border: 2rpx solid #888888;
			text-align: center;
			line-height: 64rpx;
			margin-right: 20rpx;
			font-size: 28rpx;
			font-family: Source Han Sans CN-Regular, Source Han Sans CN;
			font-weight: 400;
			color: #222222;
			}
		}
		
	}
}
</style>
